import Vue from 'vue';
import Element from 'element-ui';
import Axios from '../mock/axios'
import '../mock/mock'
import 'element-ui/lib/theme-chalk/index.css'
import { modelHandler } from '../utils/modelHandler'
Vue.use(Element)
Vue.prototype.$axios = Axios
Vue.prototype.$modelHandler = modelHandler;
Vue.prototype.$bus = new Vue()
export const parameters = {
  actions: { argTypesRegex: "^on[A-Z].*" },
  controls: {
    matchers: {
      color: /(background|color)$/i,
      date: /Date$/,
    },
  },
}